// This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (C) Microsoft Corporation
// All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Foundation Classes Reference and related
// electronic documentation provided with the library.
// See these sources for detailed information regarding the
// Microsoft Foundation Classes product.

/////////////////////////////////////////////////////////////////////////////
// Functions declared in this file

SOCKET StartServerSocket(UINT port);

int SendData(LPCWSTR filename, SOCKET sktSend);

int RecvData(LPCWSTR fileName, SOCKET sktRecv);

int Compress(LPCSTR scrFileName, LPCSTR desFileName);

LPCSTR GetIPAddress();

UINT ConnectThreadPro(LPVOID pParam);

int SendData(char *lpSendBuffer, DWORD dwBufferSize, SOCKET sktSend);